﻿@{
    ViewBag.Title = "About";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>

<h2>HIT COUNTERS</h2>

<table class="table">
    <tr>
        <th>URI</th>
        <th>COUNT</th>
    </tr>
    @{
        var hits = AppState["HitCounters"] as System.Collections.Hashtable;
        if (hits != null) { 
            foreach (var uri in hits.Keys)
            {
                <tr>
                    <td>@uri</td>
                    <td>@hits[uri]</td>
                </tr>
            }
        }
    }
</table>

